Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging main into dev – Bringing All Updates Forward #80

Merged
merged 16 commits into from
Feb 21, 2025

Conversation

01bps
Copy link
Contributor

@01bps 01bps commented Feb 21, 2025

This PR merges changes from main into dev, resolving conflicts and ensuring all features and fixes are integrated smoothly. Once merged, the development branch will be fully synchronised with main, including the latest updates, enhancements, and bug fixes. Thus solving first phase of issue #79

  • Carefully reviewed conflicting files and retained the latest, stable versions.
  • Ensured that no functionality was lost during conflict resolution.
  • Fixed SVG rx and ry attribute errors in profile.html.
  • Verified functionality to prevent regressions.

Checklist:

mdxabu and others added 16 commits January 27, 2025 10:38
Added conflict checker action for pull requests
Signed-off-by: Ishaan Gupta <ishaankone@gmail.com>
Add Responsiveness in Login Page, Register Page and profile Page
Signed-off-by: mdxabu <abdullahfakrudeen2020@gmail.com>
This PR introduces a role-based access control (RBAC) mechanism for the app, ensuring that only users with the correct roles (i.e., "admin") are allowed to access certain routes and pages. The changes include the enhancement of the role_required decorator to check the user's role and redirect non-admin users to the 403.html page if they attempt to access admin-specific pages. Additionally, improvements were made to handle cases where the user session might be None, preventing AttributeError exceptions when accessing user data.
Signed-off-by: Ishaan Gupta <ishaankone@gmail.com>
Signed-off-by: Bagwan <bagwanaran@gmail.com>
Signed-off-by: Bagwan <bagwanaran@gmail.com>
- Allow users to drop files anywhere on the page
- Maintain existing file input and enhance user experience
- Provide visual feedback when dragging files

Signed-off-by: Bagwan <bagwanaran@gmail.com>
- Add page-wide drag and drop functionality for file uploads
- Integrate file type validation matching existing allowed extensions
- Show error message for invalid file types
- Maintain existing file input functionality
- Add visual feedback during file drag operations

Signed-off-by: Bagwan <bagwanaran@gmail.com>
Signed-off-by: Bagwan <bagwanaran@gmail.com>
Add page-wide drag and drop functionality for file uploads
- Database/admindatahandler.py, Database/userdatahandler.py, app.py, requirements.txt, static/css/style.css, templates/admin.html,templates/profile.html
- Resolved conflicts and added static/js/dragdrop.js and templates/403.html
- Resolved conflicts and removed templates/404.html

Signed-off-by: Bagwan <bagwanaran@gmail.com>
- Moved rx=10 and ry=10 from profile.css to profile.html to resolve errors.
- Ensured rounded corners are applied correctly without conflicts.

Signed-off-by: Bagwan <bagwanaran@gmail.com>
@01bps
Copy link
Contributor Author

01bps commented Feb 21, 2025

@pradeeban
Everything looks good on my end—functionality is intact, and no regressions observed.
Whenever you have time, I’d really appreciate your review and any feedback you may have.
Thanks!

@pradeeban pradeeban merged commit 0356bd5 into KathiraveluLab:dev Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants